package com.game.pool;


import com.dats.entity.CacheBean;
import com.game.bean.Role;

import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

/**
 * @author sig
 * @since 2016/9/27
 */
public class DataPool {
    public static final long SECOND = 1000;
    public static final long MINUTE = 60 * SECOND;
    public static final long HOUR = 60 * MINUTE;
    public static final long DAY = 24 * HOUR;
    public static final long WEEK = 7 * DAY;

    public static long min;
    public static long min3;
    public static long min5;
    public static long min10;
    public static long min30;
    public static long hour;
    public static long day;
    public static long week;

    public static List<CacheBean> saveDelList = new LinkedList<>();
    public static Map<Long, Role> onlineRoleMap = new ConcurrentHashMap<>();
}
